<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<link rel="stylesheet"
	href="css/gopayment.css?id=<%=new Date().getTime()%>" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
$(function(){

	$("#gopaying").click(function(){
		$("#updform").attr("action","doOrder002.shtml");
		$("#updform").trigger("submit");
	})
	$(".paymethods").click(function(){
		$("#paymethod").val($(this).val());
	})
})
		

</script>
<body>
	<%@ include file="Header.jsp"%>
	<form action="updSCAddress.shtml" id="updform" method="post">
	<div class="pay-style-width" style="margin-top:80px;">
		<div class="pay-style-width-ern">
				<div id="gopay">
					<div
						style="height: 35px; background-color: #f5f5f5; border: 1px solid #e8e8e8; line-height: 35px; color: #999; padding-left: 20px; box-sizing: border-box; margin-top: 10px;">
						<span>交易号：</span><span id="orderNO">${orderolId }</span>
						<input type="hidden" name="orderid" id="" value="${orderolId }" />
					</div>
					<div
						style="padding: 20px 0px 20px 20px; box-sizing: border-box; border: 1px solid #e8e8e8">
						<div class="clear">
							<div
								style="width: 180px; text-align: center; float: left; margin-left: 15px; margin-bottom: 15px;"
								class="clear">
								<p class="left" style="margin-top: 15px; margin-right: 15px;">
									<input type="radio" name="paymethods" class="paymethods" value="支付宝支付" />
								</p>
								<p class="left">
									<img src="images/paymethod/paymethod_01.png" width="120px" />
								</p>
							</div>
							<div style="width: 180px; text-align: center; float: left"
								class="clear">
								<p class="left" style="margin-top: 15px; margin-right: 15px;">
									<input type="radio" name="paymethods" class="paymethods" value="信用卡支付" />
								</p>
								<p class="left">
									<img src="images/paymethod/paymethod_04.png" width="120px" />
								</p>
							</div>
							<div style="width: 180px; text-align: center; float: left"
								class="clear">
								<p class="left" style="margin-top: 15px; margin-right: 15px;">
									<input type="radio" name="paymethods" class="paymethods" value="肚里支付" />
								</p>
								<p class="left">
									<img src="images/paymethod/paymethod_06.png" width="120px" />
								</p>
							</div>
							<div style="width: 180px; text-align: center; float: left"
								class="clear">
								<p class="left" style="margin-top: 15px; margin-right: 15px;">
									<input type="radio" name="paymethods" class="paymethods" value="网易支付"  />
								</p>
								<p class="left">
									<img src="images/paymethod/paymethod_09.png" width="120px" />
								</p>
							</div>
							<div style="width: 190px; text-align: center; float: left"
								class="clear">
								<p class="left" style="margin-top: 15px; margin-right: 15px;">
									<input type="radio" name="paymethods" class="paymethods" value="微信支付" />
								</p>
								<p class="left">
									<img src="images/paymethod/paymethod_12.png" width="120px" />
								</p>
							</div>
							<input type="hidden" name="paymethod" id="paymethod" />
						</div>
						<div class="clear">
							<div
								style="width: 100px; float: right; margin-bottom: 20px; margin-left: 20px; color: white; height: 35px; line-height: 35px; text-align: center; background-color: #c0ae8a; border: 1px solid #ccc; border-radius: 2px; color: blank; margin-right: 50px;"
								id="gopaying">立即支付</div>
							<div style="float: right; margin-top: 15px;">
								<span>总金额</span> <span>￥</span> <span
									style="color: red; font-size: 16px;">${totprice }</span>
									<input type="hidden" name="totprice" id="totprices" value="${totprice }" />
							</div>
						</div>
					</div>
				</div>
			</div>
			<div style="height: 300px;"></div>
		</div>
	
	</form>


</body>
</html>